package com.woniu.userservice.service;

import com.woniu.userservice.entity.Auctions;
import java.util.List;

public interface AuctionsService {

    Auctions queryById(Integer id);

    List<Auctions> queryAllByLimit(int offset, int limit);
    
    List<Auctions> findAll();
    Auctions insert(Auctions auctions);

    Auctions update(Auctions auctions);

    boolean deleteById(Integer id);

    /**
     *
     * @param goodsid
     * @return报名人数
     */
    Integer selectByGoodsid(Integer goodsid);
}